package render {
	import flare.vis.data.DataSprite;
	import flare.vis.data.EdgeSprite;
	import flare.vis.data.NodeSprite;
	import flare.vis.data.render.EdgeRenderer;
	
	import flash.display.Graphics;

	public class HeatMapEdgeRenderer extends EdgeRenderer {
		public override function render(d:DataSprite):void {
			var e:EdgeSprite = d as EdgeSprite;
			var s:NodeSprite = e.source;
			var t:NodeSprite = e.target;
			var g:Graphics = e.graphics;
			var x1:Number = e.x1, y1:Number = e.y1;
			var x2:Number = e.x2, y2:Number = e.y2;
			// draw the edge
			g.clear(); // clear it out
			// setLineStyle(e, g); // set the line style
			g.moveTo(x1, y1);
			g.lineTo(x2, y2);
		}
	}
}
